﻿using System;

namespace NetCoreCMS.Models
{
    /// <summary>
    /// 管理员信息表
    /// </summary>    
    public partial class Manager:BaseModel
    {
        /// <summary>
        /// 角色ID
        /// </summary>
        public int role_id { get; set; } = 0;
        /// <summary>
        /// 管理员类型1超管2系管
        /// </summary>
        public int role_type { get; set; } = 2;
        /// <summary>
        /// 用户名
        /// </summary>
        public string user_name { get; set; }
        /// <summary>
        /// 登录密码
        /// </summary>
        public string password { get; set; }
        /// <summary>
        /// 6位随机字符串,加密用到
        /// </summary>
        public string salt { get; set; }
        /// <summary>
        /// 管理员头像
        /// </summary>
        public string avatar { get; set; }
        /// <summary>
        /// 用户昵称
        /// </summary>
        public string real_name { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string telephone { get; set; }
        /// <summary>
        /// 电子邮箱
        /// </summary>
        public string email { get; set; }
        /// <summary>
        /// 信息是否要审核
        /// </summary>
        public int is_audit { get; set; } = 0;
        /// <summary>
        /// 是否锁定
        /// </summary>
        public int is_lock { get; set; } = 0;
    }
}